<!-- Head 包含 -->
{include file="inc/top"}
<!-- 左边导航栏包含 -->
{include file="inc/sidebar"}
 <div id="dcMain">
   <!-- 内容部分 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>网站管理员</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="manager.html" class="actionBtn">返回列表</a>网站管理员</h3>
            <form action="{:url('Admin/editManager')}" method="post" name="form1">
             <input type="hidden" value="{$res.id}" name="id">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">管理员名称</td>
       <td>
        <input type="text" name="user_name" size="40" class="inpMain"  value="{$res.user}"/>
       </td>
      </tr>
      <tr>
       <td width="100" align="right">E-mail地址</td>
       <td>
        <input type="text" name="email" size="40" class="inpMain" value="{$res.email}" />
       </td>
      </tr>
      <tr>
       <td align="right">密码</td>
       <td>
        <input type="password" name="password" size="40" class="inpMain" />
       </td>
      </tr>
      <tr>
       <td align="right">确认密码</td>
       <td>
        <input type="password" name="password_confirm" size="40" class="inpMain" />
       </td>
      </tr>
      <tr>
       <td></td>
       <td>
        <input type="hidden" name="token" value="5a58b748" />
        <input type="submit" name="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
                   </div>
 </div>
 <div class="clear"></div>
<script src="__JS__/jquery.js"></script>
<script src="__JS__/jquery.validate.min.js"></script>
<script type="text/javascript">
    $(function () {
            $("#form1").validate({
                rules:{
                    user_name:{
                        required:true
                    },
                },
                messages:{
                    user_name:{
                        required:"管理员用户名不能为空！"
                    },
                },
                sunbmitHandler:function () {
                    $("#form1").submit();
                }
            });
        }
    )
</script>
<!--底部包含-->
{include file="inc/footer"}